package net.repchain.browser.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.io.Serializable;

/**
 * (RepchainTransaction)实体类
 *
 * @author lhc
 * @since 2023-11-21 14:26:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
@Table(name = "repchain_transaction")
public class RepchainTransaction implements Serializable {
    private static final long serialVersionUID = 503889680523948504L;
    @Id
    @GeneratedValue(generator="JDBC")
    private Long id;

    private String txId;

    private Long blockHeight;

    private String blockHash;

    private String transactionJson;

    private String transactionResult;

    private String signatureCreditCode;

    private Date createTime;

}

